package com.linsen.oss.provider.feign;

import com.linsen.core.common.constant.ProviderConstant;
import com.linsen.core.common.util.Result;
import com.linsen.core.feign.constant.FeignConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @Description:
 * @ProjectName: erp
 * @Package: com.linsen.oss.provider.feign
 * @ClassName: IOssFeignClient
 * @Author: zhaoyong
 * @Email: zy765203718@gmail.com
 * @Date: 2023/8/8 15:08
 * @Version: 1.0
 */
@ApiIgnore
@FeignClient(FeignConstant.LINSEN_CLOUD_OSS)
public interface IOssFeignClient {

    @ApiOperation(value = "生成二维码-返回文件地址", response = String.class)
    @GetMapping(ProviderConstant.PROVIDER_CREATE_QRCODE)
    Result createQrCode(@RequestParam("content") String content);
}
